package com.fz.dto.merchant.merMenu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@ApiModel("新增菜单")
public class MerMenuAdd {

    @ApiModelProperty(value = "缓存 0不是缓存 1是缓存")
    private Integer cache;

    @ApiModelProperty(value = "组件")
    private String component;

    @ApiModelProperty(value = "组件名称")
    private String componentName;

    @ApiModelProperty(value = "隐藏 0是可见 1不可见")
    private Integer hidden;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "是否外链 0不是外链 1是外链")
    private Integer iFrame;

    @ApiModelProperty(value = "菜单名称")
    private String name;

    @ApiModelProperty(value = "链接地址")
    private String path;

    @ApiModelProperty(value = "权限")
    private String permission;

    @ApiModelProperty(value = "上级菜单ID")
    private Integer pid;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "类型 0 代表目录 1 代表菜单 2代表按钮")
    private Integer type;

}
